package com.tang.common.api;

import com.tang.common.entity.companyJob.Company;
import com.tang.common.entity.companyJob.Job;
import com.tang.common.uniform.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient("recruit-modules-companyJob")
public interface CompanyJobFeignClient {

    @RequestMapping("/company/companyCount")
    public Integer getCompanyCount();

    @RequestMapping("/job/jobCount")
    public Integer getJobCount();

    @GetMapping("/job/getFeignJob")
    public Job getFeignJob(@RequestParam("jobId")Integer jobId);
}
